import { wxReq } from '../utils/request'

// 列表查看分页
export const getHomeList = (data)=>{
  return wxReq({
    url:"/keyue/admin/equipment/open/list_by_page",
    data
  })


}
// 根据ip获取当前城市地址
export const getAddresIp = (data)=>{
  return wxReq({
    url:"/keyue/admin/equipment/open/get_address_by_ip",
    data
  })
}

// 获取代理商信息
export const getCounsellorInfo = (data)=>{
  return wxReq({
    url:"/keyue/admin/equipment/open/get_counsellor_by",
    data
  })
}

// 商品详情
export const getShopDetailInfo = (data)=>{
  return wxReq({
    url:"/keyue/admin/equipment/open/query_by_id",
    data
  })
}

// 省市区下拉列表
export const getAddressList = (data)=>{
  return wxReq({
    url:"/keyue/admin/equipment/open/query_address",
    data
  })
}

export const getHomePicList = (data)=>{
  return wxReq({
    url:"/keyue/admin/equipment/open/home_picture_list",
    data
  })
}